.top-search {
  height: 2.5rem;
  width: 100%;
  background: linear-gradient(rgba(1,1,1,.2),hsla(0,0%,100%,0));
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 10;
}
.top-search.active {
  background: linear-gradient(#eb1625,hsla(0,0%,100%,0))
}
.top-search .classfy-icon{
  width: 1.5rem;
  height: 1.5rem;
  background: url(../../assets/images/common/class.png) no-repeat center;
  margin-left: 5%;
  background-size: 100%;
}
.top-search .search-wrap {
  width: 70%;
  height: 1.3rem; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  /* border: 5px solid #ddd;
  border-radius: 15px; */
}
.top-search .search-wrap .search-icon {
  background-image: url(../../assets/images/common/search.png);
  width: 1rem;
  height: 1rem;
  background-size: 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: 5px;

}
.top-search .search-wrap input {
  width: 100%;
  height: 100%;
  text-indent: 1rem;
  background: rgba(255,255,255,.5);
  padding-left:  0.5rem;
  padding-right: 0.5rem;
  border-radius: 5px;
  font-weight: 500;
  color: #fff;
}
.top-search .search-wrap input::placeholder{
  color: #fff;
}
.top-search .login-wrap {
  margin-right: 2%;
}
.top-search .login-wrap .login-text {
  color: #fff;
  font-size: 16px;
}

.banner {
  height: 9.15rem;
  width: 100%;
}
.banner-item {
  height: 9.15rem;
  width: 100%;
}
.banner-item img {
  width: 100%;
  height: 100%;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 4rem;
  background-color: #fff;
  margin-top: 0.5rem;
}
.nav .nav-item {
  width: 3.5rem;
  height: 3.5rem;
  text-align: center;
}
.nav .nav-item img {
  width: 2rem;
  height: 2rem;
}
.nav .nav-item p {
  color: #7b7f82;
  font-size: .6rem;
  margin-top: .2rem;
}

.goods-level {
  width: 100%;
  height: 18.4rem;
  text-align: center;
}
.goods-level .goods-item {
  margin-top: 10px;
  background-color: #fff;

}
.goods-level .goods-title {
  width: 100%;
  height: 1.6rem;
  line-height: 1.6rem;
  font-size: .9rem;
  color: #f73b61;
  border-bottom: 1px solid #efefef;
}
.goods-level .goods-title::before{
  content: '——';
}
.goods-level .goods-title::after{
  content: '——';
}
.goods-level .goods-center {
  display: flex;
}
.goods-level .goods-center .goods-left {
  width: 9.4rem;
  height: 8.75rem;
  border-right: 1px solid #efefef;;
}
.goods-level .goods-center .goods-left h4 {
  font-size: .7rem;
  overflow: hidden;
  white-space: nowrap;
  width: 92%;
  margin:0 auto;
  margin-top: 5px;
}
.goods-level .goods-detail {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 3px;
}
.goods-level .goods-detail .price {
  width: 2.1rem;
  height: 1rem;
  border-radius: 10px;
  background-color: #f21d4f;
  color: #fff;
  font-size: 12px;
  vertical-align: center;
  line-height: 1rem;
}
.goods-level .goods-detail .text {
  color: #cb385d;
  font-size: .7rem;
}
.goods-level .goods-left .image {
  width: 7.5rem;
  height: 5rem;
  margin:0 auto;
  padding: 8px;
}
.goods-level .goods-left .image img {
  width: 100%;
  height: 100%;
}